package com.cya.命令模式;

/**
 * @author ：陈奕安（3048279304@qq.com）
 * @date ：Created in 2025/5/19 22:03
 * @description：
 * @modified By：
 * @version:
 */
public class StudentA {
    private String name;

    public StudentA(String name) {
        this.name = name;
    }
    public void acadmicCompetition(){
        System.out.println(this.name+"参加学科竞赛");
    }
}